package com.example.mybatisplus.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.WhitelistSetting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisplus.model.vo.StatVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxp
 * @since 2024-12-12
 */
public interface WhitelistSettingMapper extends BaseMapper<WhitelistSetting> {

    WhitelistSetting login(@Param("user") WhitelistSetting whitelistSetting);

    Page<WhitelistSetting> pageList(@Param("page") Page<WhitelistSetting> page, @Param("user")WhitelistSetting whitelistSetting);

    List<StatVO> stat();
}
